import request from '@/utils/request'

export default {
  //用户列表
  getPageList(page,limit,userInfoQueryVo){
    return request({
      url:`/admin/user/list/${page}/${limit}`,
      method:'GET',
      params:userInfoQueryVo
    })
  },

  //用户锁定
  lockUser(userId,status){
    return request({
      url:`/admin/user/lock/${userId}/${status}`,
      method:'GET'
    })
  },
  //根据id查询单挑用户信息
  findUserSetById(userId){
    return request({
      url:`/admin/user/show/${userId}`,
      method:'GET'
    })
  },
  //用户认证 审批
  approval(userId,authStatus){
    return request({
      url:`/admin/user/approval/${userId}/${authStatus}`,
      method:'GET'
    })
  }
}
